package edu.spec.dengyan.week02.class03;

public class hanshu {

    public static void main(String[] args){
        int x=0,y=0;
        System.out.println("please input a number?");
        if (x<1)
        {
            y=x;
        }
        else if (x>=1 && x<10)
        {
            y=3*x-2;
        }
        else if (x>=10)
        {
            y=4*x;
        }
        System.out.println("the result is \t"+y);
    }
}
